package com.example.coroutinedemo

import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {

    @Test
    fun addition_isCorrect() {
//        assertEquals(4, 2 + 2)
//        val value = 2;
        val value2 = 1;
//        var value3 = value == value2;
//        assertEquals(value3, false)

        val valueB = when (value2) {
            1 -> 2;
            else -> 3;
        }

        assertEquals(valueB, 2)
//        logd {"--------------------->>"  }
    }

    fun sume(a: Int, b: Int): Int {
        return a + b;
    }
}
